package com.team.employment.web.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.team.employment.model.entity.StatutoryInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.team.employment.web.admin.dto.StatutoryQueryDto;

/**
* @author 陈钰儿
* @description 针对表【statutory_info(法定人信息表(全必填))】的数据库操作Service
* @createDate 2025-04-11 15:49:27
*/
public interface StatutoryInfoService extends IService<StatutoryInfo> {

    StatutoryInfo getStatutoryById(Long id);

    IPage<StatutoryInfo> queryByPage(StatutoryQueryDto queryDto, Page<StatutoryInfo> page);
    /**
     * 逻辑删除法定人并封禁关联公司
     * @param statutoryId 法定人ID
     */
    void removeStatutoryById(Long statutoryId);

}
